package com.example.glxt1.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author fumeichuan
 * @since 2023-01-29
 */
@Getter
@Setter
  @ApiModel(value = "User对象", description = "用户实体类")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId()
      private String userId;

      @ApiModelProperty("账号")
      private String userName;

      @ApiModelProperty("昵称")
      private String nickName;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("电话号码")
      private String phone;

      @ApiModelProperty("头像地址")
      private String avatar;

      @ApiModelProperty("用户性别（0男 1女 2未知）")
      private String sex;

      @ApiModelProperty("账号状态")
      private String stutas;

      @ApiModelProperty("删除标志（0代表存在 2代表删除）")
      private String delFlag;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty("创建时间")
      private LocalDateTime updateTime;

      @ApiModelProperty("最后登录ip")
      private String loginIp;

      @ApiModelProperty("最后登录时间")
      private LocalDateTime loginTime;

      @ApiModelProperty("备注")
      private String remark;


}
